/*
 * @Description: 资源模块控制器
 */
const resourcesCtrl = require('../model/controller/resourcesCtrl');
module.exports = {
  /**
   * 获取轮播图数据
   */
  async Carousel(req,res) {
    let carousel = await resourcesCtrl.Carousel();
    let result = {
      code: '001',
      carousel
    }
    res.send(result);
  }
}